import React, {Component} from 'react';

import './index.css'
class Index extends Component {
    render() {
        return (
            <div className="todo-header">
                <input type="text" onKeyUp={this.props.handleAdd} placeholder="请输入你的任务名称，按回车键确认"/>
            </div>
        );
    }
}

export default Index;